package com.wl.api.service.system.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wl.api.dto.system.SecurityOrderAmtReportDTO;
import com.wl.api.dto.system.SecurityUserAmtReportDTO;
import com.wl.api.dto.system.SecurityFundAmtReportDTO;
import com.wl.api.mapper.business.CustomerFundDetailMapper;
import com.wl.api.mapper.business.CustomerOrderMapper;
import com.wl.api.mapper.system.SecurityUserMapper;
import com.wl.api.service.system.SystemReport;

@Service
public class SystemReportServiceImpl implements SystemReport {

	@Autowired
	SecurityUserMapper securityUserMapper;
	
	@Autowired
	CustomerOrderMapper cutomerOrderMapper;
	
	@Autowired
	CustomerFundDetailMapper customerFundDetailMapper;
	
	@Override
	public SecurityUserAmtReportDTO getRegisterList() {
		
		return securityUserMapper.getUserAmtReport();
	}
	@Override
	public SecurityOrderAmtReportDTO getOrderList(){
		
		return cutomerOrderMapper.getOrderAmtReport();
	}
	@Override
	public SecurityFundAmtReportDTO getFundList(){
		
		return customerFundDetailMapper.getFundAmtReport();
	}
}
